****************************************************************************************
****************************************************************************************
** FIGURE 1 
****************************************************************************************
****************************************************************************************
use "${path}research_clusters_data_table.dta", clear
graph bar accepted if year_labex==2011 , over(note_cat) plotregion(fcolor(white)) graphregion(fcolor(white))
graph save "grades2011.gph", replace
graph export "grades2011.pdf", replace
graph bar accepted if year_labex==2010, over(note_cat) plotregion(fcolor(white)) graphregion(fcolor(white))
graph save "grades2010.gph", replace
graph export "grades2010.pdf", replace
graph bar accepted if  year_labex==2011, over(note3_cat) plotregion(fcolor(white)) graphregion(fcolor(white))
graph save "note3_2011.gph", replace
graph export "note3_2011.pdf", replace
graph bar accepted if year_labex==2010 , over(note3_cat) plotregion(fcolor(white)) graphregion(fcolor(white))
graph save "note3_2010.gph", replace
graph export "note3_2010.pdf", replace

